package com.rising.spring.bean;

import org.springframework.stereotype.Component;

@Component
public class Orange implements Fruit {

    public Orange() {
        System.out.println("构建一个超大橙子");
    }

    @Override
    public void eat() {
        System.out.println("吃了一个橙子");
    }
}
